

export default {
    searchObj: [
        {
            xm: true, //是input
            label: "项目名称：", //字段
            prop: "fprojectid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
        },
        {
            bd: true, //是input
            label: "标段名称：", //字段
            prop: "fCompanyid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用

        }, {
            datePickerIsRange: true, //是input
            label: "时间段查询", //字段
            prop: "timeDates", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "时间段查询",

        },
        {
            selectsTree: true, //是input
            label: "样品种类:", //字段
            prop: "fSamplemodel", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "样品种类",
            tree: {
                treeData: [],
                checkData: [],
                id: 'fSampletype',
                defaultProps: {
                    children: "children",
                    label: "fSampletypename",
                },
            },
        },
        {
            select: true, //是input
            label: "样品状态:", //字段
            prop: "fStatus", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "样品状态",
            options: [{
                label: "样品状态",
                value: ""
            }, {
                label: "待取样",
                value: "待取样"
            }, {
                label: "待收样",
                value: "待收样"
            }, {
                label: "已收样",
                value: "已收样"
            }, {
                label: "待送检",
                value: "待送检"
            }, {
                label: "已送检",
                value: "已送检"
            },]
        },
        {
            input: true, //是input
            label: "样品名称:", //字段
            prop: "fSamplename", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "样品名称",
        },
        {
            input: true, //是input
            label: "取样编号", //字段
            prop: "fSamplenostr", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "取样编号",
    
        },
        {
            btn: true, //是input
            width: 6, //参考el-col
        },
    ],
    // 列表
    table_config: {
        // 列表配置项
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [
            {
                label: "项目简称",
                prop: "fProjectname",
                minWidth: "270px",
                align: "left",
            },
            {
                label: "标段",
                prop: "fCompanyname",
                minWidth: "60px",
                align: "left",
            },
            {
                label: "检测类型",
                prop: "fChecktype",
                minWidth: "80px",
                align: "center",
            },
            {
                label: "取样编号",
                prop: "fSamplenostr",
                minWidth: "170px",
                align: "left",
            },
            {
                label: "样品名称",
                prop: "fSamplename",
                minWidth: "120px",
                align: "left",
                Jump: true,
            },
            {
                label: "样品描述",
                prop: "fSamplemessage",
                minWidth: "200px",
                align: "left",
            },
            {
                label: "工程部位/用途",
                prop: "fProjectlocation",
                minWidth: "200px",
                align: "left",
            },
            {
                label: "取样日期",
                prop: "fSampledates",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "取样人",
                prop: "fSampleperson",
                minWidth: "90px",
                align: "center",
            },
            {
                label: "见证人",
                prop: "fWitnessperson",
                minWidth: "90px",
                align: "center",
            },

        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '样品状态',
            width: '80',
            detail: true,
            prop: true,
            cols: [],

        },
    },

    btnObj: [
        {
            fEncode: "yj_view",
            fFullname: "查看",
            fOrder: 7
        },
        {
            fEncode: "yj_add",
            fFullname: "新增",
            fOrder: 1
        }, {
            fEncode: "yj_edit",
            fFullname: "编辑",
            fOrder: 2
        },
        {
            fEncode: "yj_submit",
            fFullname: "提交",
            fOrder: 3
        },
        {
            fEncode: "yj_delete",
            fFullname: "删除",
            fOrder: 4
        },
        {
            fEncode: "yj_export",
            fFullname: "导出",
            fOrder: 5
        },
        {
            fEncode: "yj_copy",
            fFullname: "复制",
            fOrder: 6
        },
        {
            fEncode: "yj_revoke",
            fFullname: "撤销",
            fOrder: 9
        },
        {
            fEncode: "yj_retrun",
            fFullname: "撤回",
            fOrder: 10
        },
    ]
}